From: Florian Müllner Date: Wed, 20 Nov 2019 20:48:03 +0000 (+0100) Subject: dateMenu: Bottom-align weather title/location X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~384 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=18a1435c2563673097b029b6974213a71382e481;p=gnome-shell.git dateMenu: Bottom-align weather title/location The two labels use different font sizes, so they don't align properly. Unfortunately we don't have BASELINE alignment in Clutter, but at least END comes closer than the default FILL. https://gitlab.gnome.org/GNOME/gnome-shell/issues/1927 --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index 1c6884e92..0b9c0d932 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -272,6 +272,7 @@ class WeatherSection extends St.Button { style_class: 'weather-header', x_align: Clutter.ActorAlign.START, x_expand: true, + y_align: Clutter.ActorAlign.END, text: _('Weather'), })); box.add_child(titleBox); @@ -279,6 +280,7 @@ class WeatherSection extends St.Button { this._titleLocation = new St.Label({ style_class: 'weather-header location', x_align: Clutter.ActorAlign.END, + y_align: Clutter.ActorAlign.END, }); titleBox.add_child(this._titleLocation);